<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">

    <title>Document</title>

</head>

<body>
    <div class="search">
        <a href="javascript:;" class="fenlei"></a>
        <div class="search-main">
            <form action="">
                <input type="text" placeholder="厨卫保暖季">
            </form>
        </div>
        <a href="javascript:;" class="login">登录</a>
    </div>
    <div class="bannar">
        <!-- Swiper -->
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide">Slide 1</div>
                <div class="swiper-slide">Slide 2</div>
                <div class="swiper-slide">Slide 3</div>
                <div class="swiper-slide">Slide 4</div>
                <div class="swiper-slide">Slide 5</div>
                <div class="swiper-slide">Slide 6</div>
                <div class="swiper-slide">Slide 7</div>
                <div class="swiper-slide">Slide 8</div>
                <div class="swiper-slide">Slide 9</div>
                <div class="swiper-slide">Slide 10</div>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
            <!-- Add Arrows -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </div>
    <div class="ad">
        <a href="javascript:;">
            <img src="upload/ad1.gif" alt="">
        </a>
        <a href="javascript:;">
            <img src="upload/ad2.gif" alt="">
        </a>
        <a href="javascript:;">
            <img src="upload/ad3.gif" alt="">
        </a>
    </div>
    <div class="nav">
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
        <a href="javascript:;">
            <span class="nav-icons"></span>
            <span class="phone">爆款手机</span>
        </a>
    </div>
    <!-- 引入js文件 -->
    <script src="js/swiper-bundle.min.js"></script>
    <script>
        var swiper = new Swiper('.swiper-container', {
            slidesPerView: 1,
            spaceBetween: 30,
            loop: true,
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            },
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
        });
    </script>
</body>

</html>